/* 自定义按钮样式 */
.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-family: inherit;
  outline: none;
  position: relative;
  overflow: hidden;
}

.custom-button:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.custom-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 按钮类型样式 */
.custom-button--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.custom-button--primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.custom-button--secondary {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-button--secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.custom-button--text {
  background: transparent;
  color: #6b7280;
  border: none;
  box-shadow: none;
}

.custom-button--text:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}

/* 按钮尺寸样式 */
.custom-button--small {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
}

.custom-button--medium {
  padding: 12px 24px;
  font-size: 16px;
}

.custom-button--large {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 10px;
}

/* 图标和文本样式 */
.custom-button__icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.custom-button__icon:only-child {
  margin-right: 0;
}

.custom-button__text {
  display: inline-block;
} 